package org.southyin.filter;

import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import java.io.IOException;

@WebFilter(value = "/login3")
public class FilterB_Test implements Filter {
    public void init(FilterConfig filterConfig) throws ServletException {

    }

    public void doFilter(ServletRequest req, ServletResponse resp, FilterChain filterChain) throws IOException, ServletException {
        System.out.println(2);
        filterChain.doFilter(req,resp);
        System.out.println(4);
    }

    public void destroy() {

    }
}
